package com.bobo.provider;

import com.bobo.api.BoboApi;
import org.apache.servicecomb.provider.pojo.RpcSchema;
import org.springframework.stereotype.Service;

/**
 * Create By zdw on 2019/6/24
 * @author bobo
 */
@Service
@RpcSchema(schemaId = "boboApi")
public class BoboApiImpl implements BoboApi {

    @Override
    public String sayHello(String name) {
        return "ServiceComb is shit!!! right? " + name;
    }

    @Override
    public String poo(String color) {
        return "are_you_here_to_take_a_dump？" + color + "big shit!!!";
    }
}